package com.sam.im.heiqun.uis.adapters.holder;

import android.view.View;
import android.view.ViewStub;

import com.sam.im.heiqun.R;
import com.melink.bqmmsdk.widget.BQMMMessageText;

/**
 * Created by leijiawen on 2017/6/19.
 */
public class ColatTextViewHolder extends ColactionBaseViewHolder {
    public BQMMMessageText bqmmMessageText  ;
    public ColatTextViewHolder(View itemView, int viewType) {
        super(itemView, viewType);
    }
    @Override
    public void initSubView(int viewType, ViewStub viewStub) {
        if(viewStub == null){
            throw new IllegalArgumentException("viewStub is null...");
        }
        viewStub.setLayoutResource(R.layout.layout_colattext_holer);
        View subView = viewStub.inflate();
       BQMMMessageText bq = (BQMMMessageText) subView.findViewById(R.id.tv_text);
        if (bq != null) {
            this.bqmmMessageText = bq;
        }
    }
}
